/**
 * 
 */
package com.sc.softmgr.common.configuration;

//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;

import feign.Request;

/**
 * 
 * @content feign管理配置
 * 
 * @date 2017年6月27日
 * 
 * @author OprCalf
 * 
 */
//@Configuration
public class FeignConfiguration {

	//@Value("${feign.connectTimeout:60000}")
	private int connectTimeout;

	//@Value("${feign.readTimeOut:60000}")
	private int readTimeout;

	//@Bean
	public Request.Options options() {
		return new Request.Options(connectTimeout, readTimeout);
	}
}
